<h1>Editing restaurant</h1>

<%= error_messages_for :restaurant %>

<% form_for(@restaurant) do |f| %>
  <%= render :partial => 'form', :locals => {:form => f, :restaurant => @restaurant, :categories => @product_categories} %>
  <p>
    <%= f.submit "Update" %>
  </p>
<% end %>

<%= link_to 'Show', @restaurant %> |
<%= link_to 'Back', restaurants_path %>
